<?php

namespace Shop\AdminBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Request;
use Symfony\Component\HttpFoundation\Response;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;

use Shop\AdminBundle\Entity\Brand;
use Shop\AdminBundle\Entity\Shop;

/**
 * Class DefaultController
 * @package Shop\AdminBundle\Controller
 * @Route("/admin")
 * @Method("GET")
 */
class DefaultController extends BaseController
{
    /**
     * @Route("/")
     * @Template()
     */
    public function indexAction(){
        return $this->checkLogin();
    }

    /**
     * 添加城市，商圈区域
     * @Route("/setting/add_area")
     * @Template("ShopAdminBundle:Setting:add_area.html.twig")
     */
    public function addAreaAction(){
        return [

        ];
    }



}
